package com.noname.lib_base_java.util;

import android.content.Context;

import com.noname.lib_base_java.global.GlobalApplication;

/**
 * Author: Lmoumou
 * Date: 2018-12-10 11:21
 * 文件名: AppUtils
 * 描述:
 */
public class AppUtils {
    private final Context context = GlobalApplication.getContext();

    private static AppUtils instance = null;

    public static AppUtils getInstance() {
        synchronized (AppUtils.class) {
            if (instance == null) {
                instance = new AppUtils();
            }
            return instance;
        }
    }

    private AppUtils() {
    }

    public Context getContext() {
        return context;
    }
}
